package swim;

public class Test {
	public static void main(String[] args) {
		Person p = new Person();
		Dog d = new Dog();
		Frog f = new Frog();
		Coach c = new Coach();
		c.teachSwim(p);
		c.teachSwim(d);
		c.teachSwim(f);
	}
}
